package com.gzx.bi.modular.screen.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.gzx.bi.modular.screen.mapper.GzxPredictAllMapper;
import com.gzx.bi.modular.screen.service.GzxPredictAllService;
import com.gzx.bi.modular.screen.vo.GzxPredictAllVo;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 线路
 *
 * @author xbl
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class GzxPredictAllServiceImpl implements GzxPredictAllService {

    private final GzxPredictAllMapper predictAllMapper;

    @DS("tjzy-async")
    @Override
    public List<GzxPredictAllVo> getCallerInfo(String currentMonth) {
        return predictAllMapper.getCallerInfo(currentMonth);
    }
}
